package com.rpay.web.param;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * Title：
 * Description
 *
 * @author fxg06 on 2018/6/6
 * @version 1.0
 */
public class AddUserRipple {
    @NotNull(message = "请选择合约")
    private Integer contractId;
    @NotNull(message = "数量不能为空")
    private BigDecimal investAmount;
    @NotBlank(message = "验证码不能为空")
    private String code;
    @NotBlank(message = "验证类型不能为空")
    private String type;

    public Integer getContractId() {
        return contractId;
    }

    public void setContractId(Integer contractId) {
        this.contractId = contractId;
    }

    public BigDecimal getInvestAmount() {
        return investAmount;
    }

    public void setInvestAmount(BigDecimal investAmount) {
        this.investAmount = investAmount;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
